package com.hhxy.book.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author 一粒尘埃
 * @since 2023-03-04
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="Books对象", description="")
public class Books implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "书本id")
    @TableId(value = "books_id", type = IdType.ID_WORKER_STR)
    private String booksId;

    @ApiModelProperty(value = "图书id")
    private String bookId;

    @ApiModelProperty(value = "书本状态（0：可借阅，1：借阅中）")
    private Integer status;

    @ApiModelProperty(value = "书本借阅人")
    private String booksBorrower;

    @ApiModelProperty(value = "书本借阅时间")
    private Date booksBorrowtime;

    @ApiModelProperty(value = "预计归还时间")
    private Date booksReturntime;

    @ApiModelProperty(value = "逻辑删除（0：未删除，1：已删除）")
    private Integer deleted;


}
